package cn.gdut.chengcai.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.gdut.chengcai.entity.AdminInfo;
import cn.gdut.chengcai.entity.AdminInfoExample;

public interface AdminInfoDao {
	long countByExample(AdminInfoExample example);

	int deleteByExample(AdminInfoExample example);

	int deleteByPrimaryKey(Long id);

	int insert(AdminInfo record);

	int insertSelective(AdminInfo record);

	List<AdminInfo> selectByExample(AdminInfoExample example);

	AdminInfo selectByPrimaryKey(Long id);

	int updateByExampleSelective(@Param("record") AdminInfo record, @Param("example") AdminInfoExample example);

	int updateByExample(@Param("record") AdminInfo record, @Param("example") AdminInfoExample example);

	int updateByPrimaryKeySelective(AdminInfo record);

	int updateByPrimaryKey(AdminInfo record);
}